Component org.nuxeo.ecm.platform.faceted.search.dm.layouts
In bundle org.nuxeo.ecm.platform.faceted.search.dm
Contributions
- org.nuxeo.ecm.platform.faceted.search.dm.layouts--widgets
- org.nuxeo.ecm.platform.faceted.search.dm.layouts--layouts
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.faceted.search.dm.layouts">
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="widgets">
<widget name="text_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.faceted.search.textSearch</label>
</labels>
<translated>true</translated>
<subWidgets>
<widget name="ecm_fulltext" type="text">
<labels>
<label mode="any">label.faceted.search.fulltext</label>
</labels>
<translated>true</translated>
<fields>
<field>fsd:ecm_fulltext</field>
</fields>
</widget>
</subWidgets>
</widget>
<widget name="date_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.faceted.search.dateSearch</label>
</labels>
<translated>true</translated>
<subWidgets>
<widget name="dc_created" type="datetimeRange">
<labels>
<label mode="any">label.dublincore.creationDate</label>
</labels>
<translated>true</translated>
<fields>
<field>fsd:dc_created_min</field>
<field>fsd:dc_created_max</field>
</fields>
<properties widgetMode="edit">
<property name="styleClass">dataInputTextDate</property>
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
</widget>
<widget name="dc_modified" type="datetimeRange">
<labels>
<label mode="any">label.dublincore.modificationDate</label>
</labels>
<translated>true</translated>
<fields>
<field>fsd:dc_modified_min</field>
<field>fsd:dc_modified_max</field>
</fields>
<properties widgetMode="edit">
<property name="styleClass">dataInputTextDate</property>
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
</widget>
</subWidgets>
</widget>
<widget name="people_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.faceted.search.peopleSearch</label>
</labels>
<translated>true</translated>
<subWidgets>
<widget name="dc_creator" type="multipleUsersSuggestion">
<labels>
<label mode="any">label.dublincore.creator</label>
</labels>
<fields>
<field>fsd:dc_creator</field>
</fields>
<properties widgetMode="any">
<property name="searchType">USER_TYPE</property>
<property name="minChars">3</property>
<property name="hideHelpLabel">true</property>
<property name="width">95%</property>
</properties>
</widget>
</subWidgets>
</widget>
<widget name="categorization_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.faceted.search.categorizationSearch</label>
</labels>
<translated>true</translated>
<properties widgetMode="any">
</properties>
<subWidgets>
<widget name="dc_nature" type="suggestManyDirectory">
<labels>
<label mode="any">label.dublincore.nature</label>
</labels>
<translated>true</translated>
<fields>
<field>fsd:dc_nature</field>
</fields>
<properties widgetMode="any">
<property name="directoryName">nature</property>
<property name="minChars">0</property>
<property name="hideHelpLabel">true</property>
<property name="width">95%</property>
</properties>
</widget>
<widget name="dc_coverage" type="suggestManyDirectory">
<labels>
<label mode="any">label.faceted.search.coverage</label>
</labels>
<translated>true</translated>
<fields>
<field>fsd:dc_coverage</field>
</fields>
<properties widgetMode="any">
<property name="directoryName">l10ncoverage</property>
<property name="dbl10n">true</property>
<property name="minChars">0</property>
<property name="hideHelpLabel">true</property>
<property name="filterParent">true</property>
<property name="canSelectParent">true</property>
<property name="width">95%</property>
</properties>
</widget>
<widget name="dc_subjects" type="suggestManyDirectory">
<labels>
<label mode="any">label.faceted.search.subjects</label>
</labels>
<translated>true</translated>
<fields>
<field>fsd:dc_subjects</field>
</fields>
<properties widgetMode="any">
<property name="directoryName">l10nsubjects</property>
<property name="dbl10n">true</property>
<property name="minChars">0</property>
<property name="hideHelpLabel">true</property>
<property name="filterParent">true</property>
<property name="canSelectParent">true</property>
<property name="width">95%</property>
</properties>
</widget>
</subWidgets>
</widget>
<widget name="path_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.faceted.search.pathSearch</label>
</labels>
<translated>true</translated>
<subWidgets>
<widget name="ecm_path" type="select_path_tree">
<labels>
<label mode="any">label.faceted.search.path</label>
</labels>
<translated>true</translated>
<fields>
<field>fsd:ecm_path</field>
</fields>
</widget>
</subWidgets>
</widget>
<widget name="all_saved_faceted_searches_selector" type="all_saved_faceted_searches_selector">
<widgetModes>
<!-- not shown in edit and view modes -->
<mode value="view">hidden</mode>
<mode value="edit">hidden</mode>
</widgetModes>
<properties widgetMode="any">
<property name="outcome">faceted_search_results</property>
</properties>
</widget>
<widget name="actions_bar" type="template">
<properties widgetMode="any">
<property name="template">
/widgets/faceted_search_actions_widget_template.xhtml
</property>
</properties>
<widgetModes>
<!-- not shown in edit and view modes -->
<mode value="view">hidden</mode>
<mode value="edit">hidden</mode>
</widgetModes>
</widget>
<widget name="facetedSaveSearch" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.faceted.search.saveSearch</label>
</labels>
<translated>true</translated>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
<property name="foldable">true</property>
<property name="foldedByDefault">true</property>
</properties>
<controls mode="any">
<control name="requireSurroundingForm">true</control>
</controls>
<subWidgets>
<widget name="saveContentView" type="saveBox">
<fields>
<field>#{facetedSearchActions.savedSearchTitle}</field>
</fields>
<properties widgetMode="any">
<property name="required">true</property>
<property name="placeholder">#{messages['label.faceted.search.save.placeholder']}
</property>
<property name="description">label.faceted.search.save.description
</property>
<property name="actionId">facetedSaveSearchAction</property>
</properties>
</widget>
</subWidgets>
</widget>
</extension>
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="layouts">
<layout name="faceted_search_default_selectors">
<templates>
<template mode="any">
/layouts/layout_faceted_search_default_actions_template.xhtml
</template>
</templates>
<rows>
<row>
<widget>all_saved_faceted_searches_selector</widget>
</row>
</rows>
</layout>
<layout name="faceted_search_default_actions">
<templates>
<template mode="any">
/layouts/layout_faceted_search_default_actions_template.xhtml
</template>
</templates>
<rows>
<row>
<widget>actions_bar</widget>
</row>
</rows>
</layout>
<layout name="faceted_search_default">
<templates>
<template mode="any">
/layouts/layout_default_template.xhtml
</template>
</templates>
<rows>
<row>
<widget>text_search</widget>
</row>
<row>
<widget>date_search</widget>
</row>
<row>
<widget>people_search</widget>
</row>
<row>
<widget>categorization_search</widget>
</row>
<row>
<widget>path_search</widget>
</row>
</rows>
</layout>
<!-- NXP-9686: deprecated layout configuration, left for compatibility
(use the grid summary layout from now on) -->
<layout name="faceted_search_summary_layout">
<templates>
<template mode="any">/layouts/layout_summary_template.xhtml
</template>
</templates>
<rows>
<row>
<widget>summary_current_document_description</widget>
<widget>summary_current_document_view</widget>
</row>
<row>
<widget>summary_current_document_lc_and_version</widget>
<widget>summary_current_document_actions</widget>
<widget>summary_current_document_tagging</widget>
<widget>summary_current_document_relations</widget>
</row>
</rows>
</layout>
</extension>
</component>